//package com.stedu.test;
//
//import com.stedu.bean.Department;
//import com.stedu.mapper.DepartmentDao;
//import com.stedu.mapper.Impl.DepartmentDaoImpl;
//import org.junit.Test;
//
//import java.sql.SQLException;
//import java.util.List;
//
//public class MyTest1 {
//    @Test
//    public void Test1() throws SQLException {
//        DepartmentDao departmentDao = new DepartmentDaoImpl();
//        List<Department> selectall = departmentDao.selectall();
//        selectall.forEach(System.out::println);
//    }
//    @Test
//    public void test1() throws SQLException {
//        DepartmentDao departmentDao = new DepartmentDaoImpl();
//        Department department = departmentDao.selectById(7);
//        System.out.println(department);
//    }
//}
